package world.criver.mm_vworld_server.controller;

import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import world.criver.mm_vworld_server.service.serAdminSave;

@RestController
@RequestMapping("/admin/save")
public class conAdminSave {
    @Autowired
    private serAdminSave serAdminSave;
    @PostMapping("/properties")
    public ObjectNode properties(@RequestBody JsonNode info){
        return serAdminSave.properties(info);
    }
}
